import config from "@/config"
import http from "@/utils/request"
import constant from "@/constant";


export default {
	assetcategory: {
		list: {
			url: `${config.API_URL}/console/asset-category/pageData`,
			name: "获取资产分类",
			storeName: "SysResource",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		listData: {
			url: `${config.API_URL}/console/asset-category/listData`,
			name: "获取资产分类",
			storeName: "SysResource",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		findAllChildByIds: {
			url: `${config.API_URL}/console/asset-category/findChildByIds`,
			name: "获取资产分类",
			storeName: "SysResource",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		findManageAllChild: {
			url: `${config.API_URL}/console/asset-category/findManageAllChild`,
			name: "获取资产分类",
			storeName: "SysResource",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/asset-category/treeData`,
			name: "获取资产分类",
			storeName: constant.entity.FamsAssetCategory.name,
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
		add: {
			url: `${config.API_URL}/console/asset-category/add`,
			name: "新增资产分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/asset-category/upt`,
			name: "修改资产分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/asset-category/del`,
			name: "删除资产分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/asset-category/deleteByIds`,
			name: "批量删除资产分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/asset-category/disabled`,
			name: "停用资产分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/asset-category/enabled`,
			name: "启用资产分类",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/asset-category/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsAssetCategory.name,
			post: async function (data) {
				return await http.post(this.url + '/' + data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/asset-category/export`,
			name: "导出数据",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/asset-category/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
		loadColumns: {
			url: `${config.API_URL}/console/asset-category/loadColumns`,
			name: "获取所有数据字典",
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
	},
	//字段维护
	asset: {
		list: {
			url: `${config.API_URL}/console/asset/pageData`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		selectAssetIds: {
			url: `${config.API_URL}/console/asset/selectAssetIds`,
			name: "根据条件查询资产id",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		all: {
			url: `${config.API_URL}/console/asset/listData`,
			name: "查询所有记录",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetStatistics: {
			url: `${config.API_URL}/console/asset/assetStatistics`,
			name: "统计资产",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countAssetIncrease: {
			url: `${config.API_URL}/console/asset/countAssetIncrease`,
			name: "资产增长统计报表",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countAssetStatus: {
			url: `${config.API_URL}/console/asset/countAssetStatus`,
			name: "资产状态统计报表",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetGrowthStatisticsYear: {
			url: `${config.API_URL}/console/asset/assetGrowthStatisticsYear`,
			name: "资产增长统计(首页)",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetScrapStatisticsYear: {
			url: `${config.API_URL}/console/asset/assetScrapStatisticsYear`,
			name: "资产报废统计(首页)",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetStateStatistics: {
			url: `${config.API_URL}/console/asset/assetStateStatistics`,
			name: "资产状态统计(首页)",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		selectAssetStateStatistics: {
			url: `${config.API_URL}/console/asset/selectAssetStateStatistics`,
			name: "资产状态统计(资产台账)",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		selectStoreAssetStatistics: {
			url: `${config.API_URL}/console/asset/selectStoreAssetStatistics`,
			name: "资产状态统计(库存台账)",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetStagnantPeriodQuery: {
			url: `${config.API_URL}/console/asset/assetStagnantPeriodQuery`,
			name: "查询呆滞资产",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetMouthIncreaseQuery: {
			url: `${config.API_URL}/console/asset/assetMouthIncreaseQuery`,
			name: "月增长资产对账查询",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		add: {
			url: `${config.API_URL}/console/asset/add`,
			name: "新增",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		edit: {
			url: `${config.API_URL}/console/asset/upt`,
			name: "修改",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/asset/del`,
			name: "删除",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/asset/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		disabled: {
			url: `${config.API_URL}/console/asset/disabled`,
			name: "停用",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		enabled: {
			url: `${config.API_URL}/console/asset/enabled`,
			name: "启用",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/asset/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function (data) {
				return await http.post(this.url + '/' + data.id, data);
			},
		},
		export: {
			url: `${config.API_URL}/console/asset/export`,
			name: "导出数据",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		exportDataByReport: {
			url: `${config.API_URL}/console/asset/exportDataByReport`,
			name: "导出统计数据",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetCountDataByQuery: {
			url: `${config.API_URL}/console/asset/countDataByQuery`,
			name: "根据条件统计资产条数",
			storeName: null,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		pageDataForHsHouse: {
			url: `${config.API_URL}/console/asset/pageDataForHsHouse`,
			name: "华士房产台账",
			storeName: null,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		bindAccessory: {
			url: `${config.API_URL}/console/asset/bindAccessory`,
			name: "绑定配件",
			storeName: null,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		unBindAccessory: {
			url: `${config.API_URL}/console/asset/unBindAccessory`,
			name: "解绑配件",
			storeName: null,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},
	//字段维护
	assetLog: {
		list: {
			url: `${config.API_URL}/console/asset-log/pageData`,
			name: "分页获取查询结果",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/asset-log/findById`,
			name: "根据主键查询",
			storeName: null,
			post: async function (data) {
				return await http.post(this.url + '/' + data.id, data);
			},
		},
		getFamsAssetPage: {
			url: `${config.API_URL}/console/asset-log/getFamsAssetPage`,
			name: "分页获取查询结果",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countRepairTimes: {
			url: `${config.API_URL}/console/asset-log/countRepairTimes`,
			name: "维修统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countRepairTimesByEcharts: {
			url: `${config.API_URL}/console/asset-log/countRepairTimesByEcharts`,
			name: "维修统计-图表",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countAllocateTimes: {
			url: `${config.API_URL}/console/asset-log/countAllocateTimes`,
			name: "调拨统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countTransferTimes: {
			url: `${config.API_URL}/console/asset-log/countTransferTimes`,
			name: "转移统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countDiscardTimes: {
			url: `${config.API_URL}/console/asset-log/countDiscardTimes`,
			name: "转移统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		export: {
			url: `${config.API_URL}/console/asset-log/export`,
			name: "导出数据",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},
	//字段维护
	column: {
		list: {
			url: `${config.API_URL}/console/column/pageData`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		all: {
			url: `${config.API_URL}/console/column/listData`,
			name: "查询所有记录",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		treeData: {
			url: `${config.API_URL}/console/column/treeData`,
			name: "以树形查询结果",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		add: {
			url: `${config.API_URL}/console/column/add`,
			name: "新增",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		edit: {
			url: `${config.API_URL}/console/column/upt`,
			name: "修改",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/column/del`,
			name: "删除",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/column/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		disabled: {
			url: `${config.API_URL}/console/column/disabled`,
			name: "停用",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		enabled: {
			url: `${config.API_URL}/console/column/enabled`,
			name: "启用",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/column/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url + '/' + data.id, data);
			},
		},
		export: {
			url: `${config.API_URL}/console/column/export`,
			name: "导出数据",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/column/dataDictionaries`,
			name: "获取所有数据字典",
			storeName: constant.entity.FamsColumn.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},

	//字段维护
	card: {
		list: {
			url: `${config.API_URL}/console/asset-card/pageData`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		treeData: {
			url: `${config.API_URL}/console/asset-card/treeData`,
			name: "以树形查询结果",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		add: {
			url: `${config.API_URL}/console/asset-card/add`,
			name: "新增",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		edit: {
			url: `${config.API_URL}/console/asset-card/upt`,
			name: "修改",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		copy: {
			url: `${config.API_URL}/console/asset-card/copyAssetCard`,
			name: "复制卡片",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/asset-card/del`,
			name: "删除",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/asset-card/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		disabled: {
			url: `${config.API_URL}/console/asset-card/disabled`,
			name: "停用",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		enabled: {
			url: `${config.API_URL}/console/asset-card/enabled`,
			name: "启用",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/asset-card/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url + '/' + data.id, {});
			},
		},
		export: {
			url: `${config.API_URL}/console/asset-card/export`,
			name: "导出数据",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/asset-card/dataDictionaries`,
			name: "获取所有数据字典",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},
	//单据维护
	document: {
		list: {
			url: `${config.API_URL}/console/document/pageData`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		listData: {
			url: `${config.API_URL}/console/document/listData`,
			name: "获取单据列表",
			storeName: constant.entity.FamsDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		add: {
			url: `${config.API_URL}/console/document/add`,
			name: "新增",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		submit: {
			url: `${config.API_URL}/console/document/saveFamsDocument`,
			name: "新增",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		reSubmit: {
			url: `${config.API_URL}/console/document/reSaveFamsDocument`,
			name: "新增",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		edit: {
			url: `${config.API_URL}/console/document/upt`,
			name: "修改",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/document/del`,
			name: "删除",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/document/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		cancelByIds: {
			url: `${config.API_URL}/console/document/cancelManageDocument`,
			name: "作废",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		compelCancelByIds: {
			url: `${config.API_URL}/console/document/compelCancelManageDocument`,
			name: "强制作废",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		compelApproveByIds: {
			url: `${config.API_URL}/console/document/compelApproveManageDocument`,
			name: "强制作废",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		restPush: {
			url: `${config.API_URL}/console/document/restPushExternalInterface`,
			name: "重新推送",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		rePass: {
			url: `${config.API_URL}/console/document/rePassFamsDocument`,
			name: "重新推送",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		disabled: {
			url: `${config.API_URL}/console/document/disabled`,
			name: "停用",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		enabled: {
			url: `${config.API_URL}/console/document/enabled`,
			name: "启用",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/document/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url + '/' + data.id, {});
			},
		},
		selectCountByQuery: {
			url: `${config.API_URL}/console/document/selectCountByQuery`,
			name: "根据条件统计单据数量",
			storeName: constant.entity.FamsDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url , data);
			},
		},
		listOwnApplyDocumentIds: {
			url: `${config.API_URL}/console/document/listOwnApplyDocumentIds`,
			name: "根据条件查询自己申请的审核中的单据Ids",
			storeName: constant.entity.FamsDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url , data);
			},
		},
		listOwnApplyOrApproveDocumentIds: {
			url: `${config.API_URL}/console/document/listOwnApplyOrApproveDocumentIds`,
			name: "根据条件查询自己申请或者审核的审核中的单据Ids",
			storeName: constant.entity.FamsDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url , data);
			},
		},
		listOwnApproveDocumentIds: {
			url: `${config.API_URL}/console/document/listOwnApproveDocumentIds`,
			name: "根据条件查询自己审核的审核中的单据Ids",
			storeName: constant.entity.FamsDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url , data);
			},
		},
		listOwnApplyOverTimeOrApproveDocumentIds: {
			url: `${config.API_URL}/console/document/listOwnApplyOverTimeOrApproveDocumentIds`,
			name: "根据条件查询自己申请超时或者审核的审核中的单据Ids",
			storeName: constant.entity.FamsDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url , data);
			},
		},
		export: {
			url: `${config.API_URL}/console/document/export`,
			name: "导出数据",
			storeName: constant.entity.FamsAssetCard.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},
	documentConfig: {
		list: {
			url: `${config.API_URL}/console/document-config/pageData`,
			name: "获取单据处理方式",
			storeName: "SysResource",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		listData: {
			url: `${config.API_URL}/console/document-config/listData`,
			name: "获取单据处理方式",
			storeName: "SysResource",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/document-config/treeData`,
			name: "获取单据处理方式",
			storeName: constant.entity.FamsDocumentConfig.name,
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
		add: {
			url: `${config.API_URL}/console/document-config/add`,
			name: "新增单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/document-config/upt`,
			name: "修改单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/document-config/del`,
			name: "删除单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/document-config/deleteByIds`,
			name: "批量删除单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/document-config/disabled`,
			name: "停用单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/document-config/enabled`,
			name: "启用单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/document-config/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsDocumentConfig.name,
			post: async function (data) {
				return await http.post(this.url + '/' + data.id, data, {});
			}
		},
		export: {
			url: `${config.API_URL}/console/document-config/export`,
			name: "导出数据",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/document-config/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
	},
	processType: {
		list: {
			url: `${config.API_URL}/console/document-process-type/pageData`,
			name: "获取单据处理方式",
			storeName: constant.entity.FamsDocumentProcessType.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		data: {
			url: `${config.API_URL}/console/document-process-type/listData`,
			name: "获取单据处理方式",
			storeName: constant.entity.FamsDocumentProcessType.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		myProcessTypes: {
			url: `${config.API_URL}/console/document-process-type/queryMyDocumentProcessTypes`,
			name: "获取单据处理方式",
			storeName: constant.entity.FamsDocumentProcessType.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/document-process-type/treeData`,
			name: "获取单据处理方式",
			storeName: constant.entity.FamsDocumentProcessType.name,
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
		add: {
			url: `${config.API_URL}/console/document-process-type/add`,
			name: "新增单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		edit: {
			url: `${config.API_URL}/console/document-process-type/upt`,
			name: "修改单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		del: {
			url: `${config.API_URL}/console/document-process-type/del`,
			name: "删除单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		deleteByIds: {
			url: `${config.API_URL}/console/document-process-type/deleteByIds`,
			name: "批量删除单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		disabled: {
			url: `${config.API_URL}/console/document-process-type/disabled`,
			name: "停用单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		enabled: {
			url: `${config.API_URL}/console/document-process-type/enabled`,
			name: "启用单据处理方式",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		findById: {
			url: `${config.API_URL}/console/document-process-type/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsDocumentProcessType.name,
			post: async function (data) {
				return await http.post(this.url + '/' + data.id, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		export: {
			url: `${config.API_URL}/console/document-process-type/export`,
			name: "导出数据",
			post: async function (data) {
				return await http.post(this.url, data, {
					headers: {
						//'response-status': 401
					}
				});
			}
		},
		dataDictionaries: {
			url: `${config.API_URL}/console/document-process-type/dataDictionaries`,
			name: "获取所有数据字典",
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
	},
	//单据维护
	documentDetail: {
		list: {
			url: `${config.API_URL}/console/document-detail/listData`,
			name: "查询数据列表",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		page: {
			url: `${config.API_URL}/console/document-detail/pageData`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		customPage: {
			url: `${config.API_URL}/console/document-detail/customPage`,
			name: "联表分页获取查询结果",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getUploadTemplateByQuery: {
			url: `${config.API_URL}/console/document-detail/getUploadTemplateByQuery`,
			name: "获取单据附件模版",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		uploadDocumentFile: {
			url: `${config.API_URL}/console/document-detail/uploadDocumentFile`,
			name: "上传单据附件",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data,config = {}) {
				return await http.post(this.url, data,config);
			},
		},
		add: {
			url: `${config.API_URL}/console/document-detail/add`,
			name: "新增",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		addDetails: {
			url: `${config.API_URL}/console/document-detail/addDetails`,
			name: "批次新增",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		edit: {
			url: `${config.API_URL}/console/document-detail/upt`,
			name: "修改",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/document-detail/del`,
			name: "删除",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/document-detail/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/document-detail/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url + '/' + data.id, {});
			},
		},
		export: {
			url: `${config.API_URL}/console/document-detail/export`,
			name: "导出数据",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		import: {
			url: `${config.API_URL}/console/document-detail/importAssets`,
			name: "导出数据",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},
	//盘点任务维护
	checkTaskApi: {
		page: {
			url: `${config.API_URL}/console/asset-check-task/pageData`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},

		add: {
			url: `${config.API_URL}/console/asset-check-task/save`,
			name: "新增",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		addAysn: {
			url: `${config.API_URL}/console/asset-check-task/saveByAsync`,
			name: "新增",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		exportData: {
			url: `${config.API_URL}/console/asset-check-task/export`,
			name: "导出信息",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getCountByStatus: {
			url: `${config.API_URL}/console/asset-check-task/getCountByStatus`,
			name: "根据状态统计信息",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countData: {
			url: `${config.API_URL}/console/asset-check-task/countData`,
			name: "根据条件统计信息",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getCheckManageRole: {
			url: `${config.API_URL}/console/asset-check-task/getCheckManageRole`,
			name: "获取用户是否含有资产盘点的角色",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByQuery: {
			url: `${config.API_URL}/console/asset-check-task/deleteByQuery`,
			name: "根据条件删除数据",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		edit: {
			url: `${config.API_URL}/console/asset-check-task/upt`,
			name: "修改",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/asset-check-task/del`,
			name: "删除",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/asset-check-task/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/asset-check-task/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsAssetCheckTask.name,
			post: async function (data = {}) {
				return await http.post(this.url + '/' + data.id, {});
			},
		},
	},
	//盘点单维护
	checkDocumentApi: {
		page: {
			url: `${config.API_URL}/console/asset-check-document/pageData`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getQueryDataAndRelDataByQueryDto: {
			url: `${config.API_URL}/console/asset-check-document/getQueryDataAndRelDataByQueryDto`,
			name: "根据条件获取盘点任务数据和限制范围",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getQueryDataByQueryDto: {
			url: `${config.API_URL}/console/asset-check-document/getQueryDataByQueryDto`,
			name: "根据条件获取盘点任务和盘点单数据",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getIdByQuery: {
			url: `${config.API_URL}/console/asset-check-document/getIdByQuery`,
			name: "根据条件获取盘点单Id",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		save: {
			url: `${config.API_URL}/console/asset-check-document/save`,
			name: "保存",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		saveCheckDocumentNotAuto: {
			url: `${config.API_URL}/console/asset-check-document/saveCheckDocument`,
			name: "保存",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		exportData: {
			url: `${config.API_URL}/console/asset-check-document/export`,
			name: "导出信息",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		customCountQueryWithWrapper: {
			url: `${config.API_URL}/console/asset-check-document/customCountQueryWithWrapper`,
			name: "根据盘点结果统计",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getCountByStatus: {
			url: `${config.API_URL}/console/asset-check-document/getCountByStatus`,
			name: "根据盘点状态统计数据",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getCheckDocumentOrgIdByTaskId: {
			url: `${config.API_URL}/console/asset-check-document/getCheckDocumentOrgIdByTaskId`,
			name: "根据盘点任务Id获取已存在的盘点部门",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		cancle: {
			url: `${config.API_URL}/console/asset-check-document/cancleCheckDocument`,
			name: "作废",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		updateCheckManageUser: {
			url: `${config.API_URL}/console/asset-check-document/updateCheckManageUser`,
			name: "更新管理员",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/asset-check-document/del`,
			name: "删除",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/asset-check-document/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByQuery: {
			url: `${config.API_URL}/console/asset-check-document/deleteByQuery`,
			name: "根据条件批量删除",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/asset-check-document/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsAssetCheckDocument.name,
			post: async function (data = {}) {
				return await http.post(this.url + '/' + data.id, {});
			},
		},
	},
	//盘点明细维护
	checkDetailApi: {
		page: {
			url: `${config.API_URL}/console/asset-check-detail/pageData`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countResultByQueryDto: {
			url: `${config.API_URL}/console/asset-check-detail/countResultByQueryDto`,
			name: "分页获取查询结果",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		exportData: {
			url: `${config.API_URL}/console/asset-check-detail/export`,
			name: "导出明细信息",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		exportDataByDocumentQuery: {
			url: `${config.API_URL}/console/asset-check-detail/exportDataByDocumentQuery`,
			name: "导出明细信息",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		improt: {
			url: `${config.API_URL}/console/asset-check-detail/improtCheckDetail`,
			name: "导入明细信息",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		add: {
			url: `${config.API_URL}/console/asset-check-detail/add`,
			name: "新增",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		edit: {
			url: `${config.API_URL}/console/asset-check-detail/upt`,
			name: "修改",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getAssetIdByDocumentId: {
			url: `${config.API_URL}/console/asset-check-detail/getAssetIdByDocumentId`,
			name: "根据盘点单id获取盘点明细下所有资产Id",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getAssetIdByTaskId: {
			url: `${config.API_URL}/console/asset-check-detail/getAssetIdByTaskId`,
			name: "根据盘点任务id获取盘点明细下所有资产Id",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		checkReport: {
			url: `${config.API_URL}/console/asset-check-detail/checkReport`,
			name: "根据条件生成盘点报告",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		checkReportByOut: {
			url: `${config.API_URL}/console/asset-check-detail/checkReportByOut`,
			name: "根据条件生成盘点报告",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		updateCheckUser: {
			url: `${config.API_URL}/console/asset-check-detail/updateCheckUser`,
			name: "修改盘点人",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		delete: {
			url: `${config.API_URL}/console/asset-check-detail/deleteByDocumentId`,
			name: "根据盘点单id删除明细",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		del: {
			url: `${config.API_URL}/console/asset-check-detail/del`,
			name: "删除",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		deleteByIds: {
			url: `${config.API_URL}/console/asset-check-detail/deleteByIds`,
			name: "批量删除",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		removeDataByDocumentQuery: {
			url: `${config.API_URL}/console/asset-check-detail/removeDataByDocumentQuery`,
			name: "删除盘盈明细",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		checkHandleDetailByQuery: {
			url: `${config.API_URL}/console/asset-check-detail/checkHandleDetailByQuery`,
			name: "批量盘点处理",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		findById: {
			url: `${config.API_URL}/console/asset-check-detail/findById`,
			name: "根据主键查询",
			storeName: constant.entity.FamsDocumentDetail.name,
			post: async function (data = {}) {
				return await http.post(this.url + '/' + data.id, {});
			},
		},
	},
	//汇总统计
	assetSummaryStatistics: {
		selectAssetStatisticsReport: {
			url: `${config.API_URL}/console/asset-summary-statistics/selectAssetStatisticsReport`,
			name: "公司汇总统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetCategorySummaryStatistics: {
			url: `${config.API_URL}/console/asset-summary-statistics/assetCategorySummaryStatistics`,
			name: "资产分类汇总统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		selectAssetChangeByAssetCategory: {
			url: `${config.API_URL}/console/asset-summary-statistics/selectAssetChangeByAssetCategory`,
			name: "资产增减汇总统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		countOperatorByAssetPage: {
			url: `${config.API_URL}/console/asset-summary-statistics/countOperatorByAssetPage`,
			name: "员工资产统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetCategorySummaryStatisticsByChild: {
			url: `${config.API_URL}/console/asset-summary-statistics/assetCategorySummaryStatisticsByChild`,
			name: "资产分类汇总统计子节点",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		assetCategoryStatisticsByCharts: {
			url: `${config.API_URL}/console/asset-summary-statistics/assetCategoryStatisticsByCharts`,
			name: "首页资产分类统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		getAssetStatisticsReportByChild: {
			url: `${config.API_URL}/console/asset-summary-statistics/getAssetStatisticsReportByChild`,
			name: "统计当前节点子节点的数据",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		selectAssetPositionSummary: {
			url: `${config.API_URL}/console/asset-summary-statistics/selectAssetPositionSummary`,
			name: "资产位置统计",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		export: {
			url: `${config.API_URL}/console/asset-summary-statistics/export`,
			name: "导出数据",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},
	//资产统计报表
	assetStatisticsReport: {
		countAssetIncrease: {
			url: `${config.API_URL}/console/asset-statistics-report/countAssetIncrease`,
			name: "资产增长统计报表",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		newCountAssetStatus: {
			url: `${config.API_URL}/console/asset-statistics-report/countAssetStatus`,
			name: "资产状态统计报表",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
		export: {
			url: `${config.API_URL}/console/asset-statistics-report/export`,
			name: "导出数据",
			storeName: '',
			post: async function (data = {}) {
				return await http.post(this.url, data);
			},
		},
	},
	//资产位置
	assetPosition: {
		listData: {
			url: `${config.API_URL}/console/position/listData`,
			name: "获取位置信息分页",
			storeName: "SysResource",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		findAllChilds: {
			url: `${config.API_URL}/console/position/findAllChilds`,
			name: "获取位置所有子节点",
			storeName: "SysResource",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		treeData: {
			url: `${config.API_URL}/console/position/treeData`,
			name: "获取位置信息",
			storeName: constant.entity.FamsPosition.name,
			post: async function (params) {
				return await http.post(this.url, params);
			}
		},
		findPositionIdsRangeByOrgId: {
			url: `${config.API_URL}/console/position/findPositionIdsRangeByOrgId`,
			name: "根据机构id查询可用的位置ID",
			post: async function(data={}){
				return await http.post(this.url+'/'+data.orgId, data);
			}
		},
	},
	//资产位置
	syncBatchDetail: {
		listData: {
			url: `${config.API_URL}/console/sync-batch-detail/listData`,
			name: "获取同步批次明细",
			storeName: "FamsSyncBatchDetail",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
		pageData: {
			url: `${config.API_URL}/console/sync-batch-detail/pageData`,
			name: "获取同步批次明细",
			storeName: "FamsSyncBatchDetail",
			post: async function (data = {}) {
				return await http.post(this.url, data);
			}
		},
	},
}
